def inverte(str):
    str = str[::-1]
    str = str.replace("}","~")
    str = str.replace("{","}")
    str = str.replace("~","{")

    str = str.replace(")","~")
    str = str.replace("(",")")
    str = str.replace("~","(")

    str = str.replace("]","~")
    str = str.replace("[","]")
    str = str.replace("~","[")

    str = str.replace("}","~")
    str = str.replace("{","}")
    str = str.replace("~","{")

    str = str.replace("\\","~")
    str = str.replace("/","\\\\")
    str = str.replace("~","/")

    str = str.replace("d","~")
    str = str.replace("b","d")
    str = str.replace("~","b")

    str = str.replace("p","~")
    str = str.replace("q","p")
    str = str.replace("~","q")

    str = str.replace("z","~")
    str = str.replace("s","z")
    str = str.replace("~","s")

    str = str.replace("`","'")
    print '"'+str+'"'

inverte("          +---------+      ")
inverte("          |         |      ")
inverte("          +---------+      ")
inverte("            .-***-.        ")
inverte("          _/-=-.   \\       ")
inverte("         (_|a a/   |_      ")
inverte("          / *  \\   ,_)     ")
inverte("     _    \\`=' /__/        ")
inverte("    / \\_  .;--'  `-.       ")
inverte("    \\___)//      ,  \\      ")
inverte("     \\ \\/;        \\  \\     ")
inverte("      \\_.|         | |     ")
inverte("       .-\\ '     _/_/      ")
inverte("     .'  _;.    (_  \\      ")
inverte("    /  .'   `\\   \\\\_/      ");
inverte("   |_ /       |  |\\\\       ")
inverte("  /  _)       /  / ||      ")
inverte(" /  /       _/  /  //      ")
inverte(" \\_/       ( `-/  ||       ")
inverte("           /  /   \\\\ .-.   ")
inverte("           \\_/     \\'-'/   ")
inverte("                    `*`    ")
inverte("  ja,         _ -.,         .g, ")
inverte("   4#Z       QmP?4#L       adB` ")
inverte("    )4mwa   jWD  qmmP   qaa##(  ")
inverte("      )4#B6amW[_mWmF  adWm#?'   ")
inverte("       ]XW#mmWtyWBf..WmmP`      ")
inverte("  _gaa,dmmWWWmaWBWWQBWmWm       ")
inverte(" ]WWW#WWWWWWBWWBWWBBWWWm8       ")
inverte("  *??$WWBWWWWWWBWWWWWBBmX[      ")
inverte("       -???Y99WWT???**??*       ")

inverte("                _       ");
inverte("              ,//)      ");
inverte("              ) /       ");
inverte("             / /        ");
inverte("       _,^^,/ /         ");
inverte("      (G,66<_/          ");
inverte("      _/\\_,_)    _      ");
inverte("     / _    \\  ,' )     ");
inverte("    / /*\\    \\/  ,_\\    ");
inverte(" __(,/   >  e ) / (_\\.oO");
inverte(" \\_ /   (   -,_/    \\_/ ");
inverte("   U     \\_, _)         ");
inverte("          (  /          ");
inverte("           >/           ");
inverte("          (.oO          ");

